package com.example.farmbreeding.mapper;

import com.example.farmbreeding.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: fzykd
 * Date: 2022-11-16
 * Time: 9:56
 */

@Mapper
public interface UserMapper {
    //通过id查找用户
    User selectById(@Param("id") Integer id);

}
